<html>
<head>
    <meta charset="utf-8">
    <title>Freemarker入门</title>
</head>



${name}欢迎，${message}
<hr>
<#assign username="王大锤">
欢迎${username}
<hr>
<#assign info={'xinqi':'星期3','tianqi':'阴'}>
${info.xinqi},${info.tianqi}
<hr>

<#assign success=false>
<#if success=true>
    成功
    <#else>
    失败
</#if>

<hr>
<#include "test02.ftl">

<#list goodsList as goods>
    商品名称：${goods.name}，价格:${goods.price}
</#list>
</html>